package org.lanqiao.taru.domain;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
/**
 * (TbArticle)实体类
 *
 * @author makejava
 * @since 2024-08-04 17:15:48
 */
@Data
@ApiModel("文章实体类")
@Table(name="tb_article")
public class TbArticle implements Serializable {
    private static final long serialVersionUID = 638598634724817466L;

    @ApiModelProperty("编号")
      @Column(name = "id")
    private Long id;

    @ApiModelProperty("内容")
    @Column(name = "atc_content")
    private String atcContent;

      @Column(name = "atc_title")
    private String atcTitle;

      @Column(name = "atc_face")
    private String atcFace;

      @Column(name = "atc_create_date")
    private Date atcCreateDate;

      @Column(name = "atc_user_id")
    private Long atcUserId;

      @Column(name = "atc_category_id")
    private Long atcCategoryId;


    /**
     * 多对一
     */
    @Transient
    private  TbUserinfo tbUserinfo;





}

